<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>UDT Reference</title>
</head>

<body>

<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%" id="table1" bgcolor="#99CCFF" bordercolor="#99CCFF">
  <tr>
    <td width="100%"><font face="Verdana" size="2"><i>&nbsp;UDT Reference: UDT </i></font>
	<i><font face="Verdana" size="2">Functions</font></i></td>
  </tr>
</table>
<h1><font face="Verdana" size="4">UDT Sockets Functions</font></h1>
<p><font face="Verdana" size="2">The UDT socket functions are contained in the 
UDT namespace. The methods are listed in the table below:</font></p>
  <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" id="AutoNumber3" bordercolordark="#C0C0C0" bordercolorlight="#C0C0C0" width="100%">
    <tr>
      <th bgcolor="#C0C0C0" width="152"><font face="Verdana" size="2">Method</font></th>
      <th bgcolor="#C0C0C0" width="100%"><font face="Verdana" size="2">
      Functionality</font></th>
    </tr>
    <tr>
      <td width="152">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
		<a href="accept.htm">accpet</a></font></td>
      <td width="100%">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
		accept a connection</font></td>
    </tr>
    <tr>
      <td width="152">
      <p style="margin-top: 1; margin-bottom: 1">
		<font face="Verdana" size="1"><a href="bind.htm">bind</a></font></td>
      <td width="100%">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
		assign a local name to an unnamed udt socket</font></td>
    </tr>
    <tr>
      <td width="152">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
      <a href="close.htm">close</a></font></td>
      <td width="100%">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
      close the opened UDT entity and shutdown the connection</font></td>
    </tr>
    <tr>
      <td width="152">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
      <a href="connect.htm">connect</a></font></td>
      <td width="100%">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
      connect to a server</font></td>
    </tr>
    <tr>
      <td width="152">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
		<a href="error.htm">getlasterror</a></font></td>
      <td width="100%">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
		retrieve last UDT error</font></td>
    </tr>
    <tr>
      <td width="152">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
		<a href="peername.htm">getpeername</a></font></td>
      <td width="100%">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
		read the address of the peer side of the connection</font></td>
    </tr>
	<tr>
      <td width="152">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
		<a href="sockname.htm">getsockname</a></font></td>
      <td width="100%">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
		read the local address of the UDT socket</font></td>
    </tr>
    <tr>
      <td width="152">
      <p style="margin-top: 1; margin-bottom: 1"><a href="opt.htm">
		<font face="Verdana" size="1">getsockopt</font></a></td>
      <td width="100%">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
      read UDT options</font></td>
    </tr>
    <tr>
      <td width="152">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
		<a href="overlap.htm">getoverlappedresult</a>&nbsp;&nbsp;&nbsp;&nbsp;
		</font></td>
      <td width="100%">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
		retrieves the progress of an overlapped IO</font></td>
    </tr>
    <tr>
      <td width="152">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
      <a href="listen.htm">listen</a></font></td>
      <td width="100%">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
      wait for clients to connect</font></td>
    </tr>
	<tr>
      <td width="152">
      <a href="trace.htm"><font face="Verdana" size="1">perfmon</font></a></td>
      <td width="100%">
      <font face="Verdana" size="1">monitor<span lang="zh-cn"> 
		internal protocol parameters and </span>udt <span lang="zh-cn">
		performance </span> </font></td>
    </tr>
	<tr>
      <td width="152">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
      <a href="recv.htm">recv</a></font></td>
      <td width="100%">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
      receive a buffer</font></td>
    </tr>
	<tr>
      <td width="152">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
      <a href="recvfile.htm">recvfile</a></font></td>
      <td width="100%">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
      receive data into a file</font></td>
    </tr>
	<tr>
      <td width="152">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
		<a href="recvmsg.htm">recvmsg</a></font></td>
      <td width="100%">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
		retrieve a message</font></td>
    </tr>
	<tr>
      <td width="152">
      <p style="margin-top: 1; margin-bottom: 1">
		<font face="Verdana" size="1"><a href="select.htm">select</a></font></td>
      <td width="100%">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
		wait for a number of UDT sockets to change status</font></td>
    </tr>
    <tr>
      <td width="152">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
      <a href="send.htm">send</a></font></td>
      <td width="100%">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
      send a buffer</font></td>
    </tr>
    <tr>
      <td width="152">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
      <a href="sendfile.htm">sendfile</a></font></td>
      <td width="100%">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
      send data from a file</font></td>
    </tr>
    <tr>
      <td width="152">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
		<a href="sendmsg.htm">sendmsg</a></font></td>
      <td width="100%">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
		send a message</font></td>
    </tr>
    <tr>
      <td width="152">
      <p style="margin-top: 1; margin-bottom: 1"><a href="opt.htm">
		<font face="Verdana" size="1">setsockopt</font></a></td>
      <td width="100%">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
      modify UDT options</font></td>
    </tr>
    <tr>
      <td width="152">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
      <a href="shutdown.htm">shutdown</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></td>
      <td width="100%">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
		shutdown part of the duplex connection</font></td>
    </tr>
    <tr>
      <td width="152">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
      <a href="socket.htm">socket</a>&nbsp;&nbsp;&nbsp;&nbsp; </font></td>
      <td width="100%">
      <p style="margin-top: 1; margin-bottom: 1"><font face="Verdana" size="1">
		create a new UDT socket</font></td>
    </tr>
    </table>
<H4><font face="Verdana" size="2">See Also</font></H4>
<P>
<b><font face="Verdana" size="2"><a href="structure.htm">UDT Sockets 
Structures</a></font></b></P>

</body>

</html>
